/* 
 * File:   mapconstants.cpp
 * Author: dolphinigle
 * 
 * Created on March 12, 2011, 4:12 PM
 */

#include "mapconstants.h"

bool MapConstants::isPlantableCell(char representation) {
  return representation == kPlantableCellRep;
}
bool MapConstants::isNonEnterableCell(char representation) {
  return representation == kNonEnterableCellRep;
}
bool MapConstants::isNonPlantableCell(char representation) {
  return representation == kNonPlantableCellRep;
}

std::string MapConstants::getEmptyPlantableCellViewRep() {
  return "OO";
}
std::string MapConstants::getWateredStatusViewRep() {
  return "W";
}
std::string MapConstants::getPlowedStatusViewRep() {
  return "P";
}
std::string MapConstants::getPlowedAndWateredStatusViewRep() {
  return "T";
}
std::string MapConstants::getBurningStatusViewRep() {
  return "B";
}
std::string MapConstants::getEmptyStatusViewRep() {
  return " ";
}
std::string MapConstants::getNonPlantableCellViewRep() {
  return "..";
}
std::string MapConstants::getNonEnterableCellViewRep() {
  return "XX";
}

